<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  
</body>
<script>

  let str = "abcbcbcbbc000|qw/e123   aaa\\\\\\\\aa|bb_cc/@_123  AA\bc|ab*_ccc\b   bc1-23acd456+gahsgg789";
  // console.log( str.replace( /a/, "啊" ) );
  // console.log( str.replace( /a/g, "啊" ) );
  // console.log( str.replace( /a/gi, "啊" ) );
  // console.log( str.replace( /a+/gi, "啊" ) );
  // console.log( str.replace( /1+/gi, "啊" ) );
  // console.log( str.replace( /1|2|3|4|5|6|7|8|9|0+/gi, "啊" ) );
  // console.log( str.replace( /(1|2|3|4|5|6|7|8|9|0)+/gi, "啊" ) );
  // console.log( str.replace( /\d+/gi, "啊" ) );
  // console.log( str.replace( /\D+/gi, "啊" ) );

  // console.log( str.replace( /\w+/gi, "啊" ) )
  // console.log( str.replace( /\W+/gi, "啊" ) )
  
  // console.log( str.replace( /\s+/gi, "啊" ) )
  // console.log( str.replace( /\S+/gi, "啊" ) )
  
  // console.log( str.replace( /\|+/gi, "啊" ) )
  // console.log( str.replace( /\\+/gi, "啊" ) )
  // console.log( str.replace( /\/+/gi, "啊" ) )

  // console.log( str.replace( /.+/gi, "啊" ) )

  // console.log( str.replace( /[01234]+/gi, "啊" ) )
  // console.log( str.replace( /[0-4]+/gi, "啊" ) )
  // console.log( str.replace( /[^0-4]+/gi, "啊" ) )
  // console.log( str.replace( /[a-z]+/gi, "啊" ) )
  // console.log( str.replace( /[^a-z]+/gi, "啊" ) )
  // console.log( str.replace( /[0-9a-z]+/gi, "啊" ) )
  // console.log( str.replace( /[^0-9a-z]+/gi, "啊" ) )

  // console.log( str.replace( /bc+/gi, "啊" ) )
  // console.log( str.replace( /(bc)+/gi, "啊" ) )
  
  console.log( str )

</script>
</html>